import { RouteRecordRaw, RouterView } from "vue-router";

const homeRouter: RouteRecordRaw[] = [
  {
    path: "/home",
    component: RouterView,
    redirect: "/home/dashboard",
    meta: {
      title: "首页",
      icon: "HomeFilled",
    },
    children: [
      {
        path: "dashboard",
        component: () => import("@/views/home/index.vue"),
        meta: {
          title: "首页",
          icon: "Briefcase",
        },
      },
      {
        path: "check",
        component: () => import("@/views/check/index.vue"),
        meta: {
          title: "审核",
          icon: "Briefcase",
        },
      },
    ],
  },
];

export default homeRouter;

